package com.hustzp.com.xichuangzhu.poetry;

import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;

import com.hustzp.com.xichuangzhu.R;
import com.hustzp.com.xichuangzhu.XCZBaseFragmentActivity;
import com.hustzp.com.xichuangzhu.fragment.ReViewFragment;

/**
 * Copyright (C) 2015 The huimai mobile client Project
 * All right reserved.
 *
 * @author: wuzhimin@huimai365.com
 * @date: 2016/6/5 1:25
 * @Description:
 */
public class QuotesAct extends XCZBaseFragmentActivity {
    private FragmentManager mFragMgr;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_quotes);
        mFragMgr = getSupportFragmentManager();
        FragmentTransaction trans = mFragMgr.beginTransaction();
        ReViewFragment fragment = new ReViewFragment();
        fragment.setArguments(getIntent().getExtras());
        trans.replace(R.id.fragment_container, fragment);
        trans.commit();
    }
}
